package com.villaday.idf.model;

import java.util.List;

/**
 * Created by admin on 2018/9/8.
 */

public class saleHouseEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : {"hasNext":false,"list":[{"amounts":9900,"house":{"id":"22643","name":"惠州水榭湾 豪华海景房（大/双）"},"orders":1},{"amounts":59800,"house":{"id":"44761","name":"惠州·梵高的海·臻品听海两室套房"},"orders":2},{"amounts":69900,"house":{"id":"58783","name":"惠州海王子酒店+从化望谷公寓套餐"},"orders":1}],"next":1,"pageNo":1,"pageSize":3,"size":3,"start":1,"total":3}
     */

    private String code;
    private String status;
    private String msg;
    private BodyBean body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public BodyBean getBody() {
        return body;
    }

    public void setBody(BodyBean body) {
        this.body = body;
    }

    public static class BodyBean {
        /**
         * hasNext : false
         * list : [{"amounts":9900,"house":{"id":"22643","name":"惠州水榭湾 豪华海景房（大/双）"},"orders":1},{"amounts":59800,"house":{"id":"44761","name":"惠州·梵高的海·臻品听海两室套房"},"orders":2},{"amounts":69900,"house":{"id":"58783","name":"惠州海王子酒店+从化望谷公寓套餐"},"orders":1}]
         * next : 1
         * pageNo : 1
         * pageSize : 3
         * size : 3
         * start : 1
         * total : 3
         */

        private boolean hasNext;
        private int next;
        private int pageNo;
        private int pageSize;
        private int size;
        private int start;
        private int total;
        private List<ListBean> list;

        public boolean isHasNext() {
            return hasNext;
        }

        public void setHasNext(boolean hasNext) {
            this.hasNext = hasNext;
        }

        public int getNext() {
            return next;
        }

        public void setNext(int next) {
            this.next = next;
        }

        public int getPageNo() {
            return pageNo;
        }

        public void setPageNo(int pageNo) {
            this.pageNo = pageNo;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public int getStart() {
            return start;
        }

        public void setStart(int start) {
            this.start = start;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class ListBean {
            /**
             * amounts : 9900
             * house : {"id":"22643","name":"惠州水榭湾 豪华海景房（大/双）"}
             * orders : 1
             */

            private int amounts;
            private HouseBean house;
            private int orders;

            public int getAmounts() {
                return amounts;
            }

            public void setAmounts(int amounts) {
                this.amounts = amounts;
            }

            public HouseBean getHouse() {
                return house;
            }

            public void setHouse(HouseBean house) {
                this.house = house;
            }

            public int getOrders() {
                return orders;
            }

            public void setOrders(int orders) {
                this.orders = orders;
            }

            public static class HouseBean {
                /**
                 * id : 22643
                 * name : 惠州水榭湾 豪华海景房（大/双）
                 */

                private String id;
                private String name;

                public String getId() {
                    return id;
                }

                public void setId(String id) {
                    this.id = id;
                }

                public String getName() {
                    return name;
                }

                public void setName(String name) {
                    this.name = name;
                }
            }
        }
    }
}
